<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>单位时间谐波含有率数据</title>
    <link href='../static/css/base.css' rel='stylesheet'>
    <link href='../static/css/form.css' rel='stylesheet'>
    <script src="{{url_for('static',filename='js/jquery-3.6.1.js')}}" type="text/javascript" charset="utf-8"></script>
    <script src="{{url_for('static',filename='js/jquery.cookie-1.4.1.min.js')}}" type="text/javascript"
            charset="utf-8"></script>
    <script src="{{url_for('static',filename='js/echarts.min.js')}}" type="text/javascript" charset="utf-8"></script>

</head>

<body>
<div class="start">

    <div class="back" onclick="window.location.href='{{url_for('home')}}'"><img class="back-icon" src="../../static/img/back.png">返回主页
            </div>
    <div class="right">
            <div class="menu-item config-menu" >
                <form action="{{ url_for('harmoniccontentPost') }}" method="POST" >
                    <div class="card-header">
                    查询模拟设备编号
                </div>
                <input type="text" name="value" value={{value}}>
                <input  type="submit" value="查询">

                </form>
            </div>


            <div class="card-box">
                <div class="card-header">
                    单位时间谐波含有率数据
                </div>
               {{ myechart|safe }}
            </div>

    </div>
</div>
</body>

<style>
    .menu-item {
        width: 100%;
        display: flex;
        align-items: center;
    }
    .menu-item:hover .button{
        border: 8px solid #52ff58;
    }

    .menu-item-text {
        color: #333;
        font-size: 1.4vw;
        margin-left: 20px;
    }
    .button {
        background-image: linear-gradient(to bottom right, #77d9ee, #4c54f2);
        width: 4vw;
        height: 4vw;
        border-radius: 5%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.4vw;
        box-shadow: 0 8px 24px #bbc3e0, 0 16px 56px #bbc3e0, 0 5px 5px #bbc3e0;
        border: 8px solid #e7e8eb;
        cursor: pointer;
    }
    .config-menu{
        margin-bottom: 10px;
    }
    .config-menu .button{
        margin: 0;
        border-radius: 8px;
        max-height: 50px;
        max-width: 50px;
    }
    .config-menu .menu-item-text{
        margin-left: 10px;
    }
</style>

</html>